package com.aierkeji.call.cms.config;

import java.util.concurrent.RejectedExecutionHandler;
import java.util.concurrent.ThreadPoolExecutor;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * 线程池满了回调
 * @author 陈宇强
 *
 */
public class AkjRejectedExecutionHandler implements RejectedExecutionHandler{
    private final Logger log = LogManager.getLogger(getClass());

	@Override
	public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {
		// TODO Auto-generated method stub
		
		log.info("线程池满:",executor);
		
	}

}
